#ifndef __EXAMPLE_SCENE_H_FILE__
#define __EXAMPLE_SCENE_H_FILE__
#include <osg/Referenced>
#include <osg/ref_ptr>
#include <osgViewer/Viewer>

namespace common
{
    class Scene : public osg::Referenced
    {
    public:
        Scene();
        ~Scene();


        void addNode( osg::Node *lpNode );

        void run();

    protected:
        void createPlane();


    protected:
        osg::ref_ptr<osg::Group> _root;
        osg::ref_ptr<osg::Node> _plane;
        osg::ref_ptr<osgViewer::Viewer> _viewer;
    };
}


#endif // __EXAMPLE_SCENE_H_FILE__
